package com.jm.bishe.service;

import com.jm.bishe.entity.Result;
import com.jm.bishe.entity.RoomAdd;
import com.jm.bishe.entity.RoomReserve;

public interface RoomService {

    Result addRoom(RoomAdd roomAdd,String adminId);

    Result queryAllRoom(String adminId);

    Result queryRoomByType(String roomType,String adminId);

    Result queryRoomById(String roomId,String adminId);

    Result reserveRoom(RoomReserve roomReserve, String id);

    Result lockRoom(boolean lock,String roomId, String userId);

    Result createDiscount(int number,double price,String roomType,String userId);

    Result queryDiscount(String id);

    Result roomCheckIn(String roomId, String realName, String IDNumber, String id);
}
